package service;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;
import pojo.App_info;
import pojo.Backend_user;
import pojo.Page;

import java.util.List;

public interface Backend_userService {
    /**
     * 登录
     */
    Backend_user getUser(@Param("userCode") String userCode, @Param("userPassword") String userPassword);
    /**
     * 查询有无此账号
     */
    int userCode(String userCode);
    /**
     * 查询有无此密码
     */
    int userPassword(String userPassword);
    /**
     * 模糊查询
     */
    List<App_info> list(Page page, String softwareName, Integer flatformId, Integer categoryLevel1, Integer categoryLevel2, Integer categoryLevel3);
    /**
     * 分页方法
     */
    void fy(Page page,String softwareName, Integer flatformId, Integer categoryLevel1, Integer categoryLevel2, Integer categoryLevel3);
}
